package request;

import record.Directory;

/**
 * RemoveDirectoryRequest class is used to tell the sever to remove a directory from the database, or rather
 * hide it because we don't want to delete data.
 * @author Sean Freitag
 * @author Jacob Freemyer
 * @author Stephan Jossie
 *
 */
@SuppressWarnings("serial")
public class RemoveDirectoryRequest implements Request
{
	/**
	 * Directory to delete
	 */
	private Directory directory;
	
	/**
	 * Creates a RemoveDirectoryRequest instance that is used to tell the server to remove/hide the directory in the
	 * database.
	 */
	public RemoveDirectoryRequest(){
		
	}
	
	/**
	 * Getter that gets the directory that is being removed/hidden.
	 * @return
	 * 		Directory in which to remove/hide
	 */
	public Directory getDirectory()
	{
		return directory;
	}
	
	/**
	 * Setter to set the directory to be removed
	 * @param pDir
	 * the directory to be removed
	 */
	public void setDirectory(Directory pDir)
	{
		directory = pDir;
	}
}
